﻿<UserControl xmlns:my="clr-namespace:It.Uniba.Di.Cdg.SocialTfs.Client.Objects"
             x:Class="It.Uniba.Di.Cdg.SocialTfs.Client.Objects.UITimeline"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Background="White">
    <ScrollViewer Name="ContentScroll" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" CanContentScroll="True" ScrollChanged="ContentScroll_ScrollChanged">
        <Grid Name="ContentGrid">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <StackPanel Name="TimelineStackPanel" VerticalAlignment="Stretch" Grid.ColumnSpan="2" CanVerticallyScroll="True" ScrollViewer.VerticalScrollBarVisibility="Auto"/>
            <TextBlock Name="LoadingText" HorizontalAlignment="Center" Visibility="Hidden" TextWrapping="Wrap" Grid.Row="1" Margin="2 5 2 5"/>
            <my:UIBusy x:Name="Busy" HorizontalAlignment="Center" Visibility="Hidden" Grid.Row="2"/>
        </Grid>
    </ScrollViewer>
</UserControl>
